package com.irs.service.impl;

import com.irs.pojo.BuildingInfo;
import com.irs.service.BuildingInfoService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

import com.irs.mapper.BuildingInfoMapper;

@Service
public class BuildingInfoServiceImpl implements BuildingInfoService {

    @Resource
    private BuildingInfoMapper buildingInfoDao;

    public int insert(BuildingInfo pojo){
        return buildingInfoDao.insert(pojo);
    }

    public int insertList(List< BuildingInfo> pojos){
        return buildingInfoDao.insertList(pojos);
    }

    public List<BuildingInfo> select(BuildingInfo pojo){
        return buildingInfoDao.select(pojo);
    }

    public int update(BuildingInfo pojo){
        return buildingInfoDao.update(pojo);
    }

}
